package com.ruoyi.merchandise.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品分类对象 tb_goods_type
 * 
 * @author 李文保
 * @date 2025-03-12
 */
public class GoodsType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String name;

    /** 是否上架 */
    @Excel(name = "是否上架")
    private String status;

    /** 关联商品 */
    @Excel(name = "关联商品")
    private String goods;

    /** 分类图标 */
    @Excel(name = "分类图标")
    private String img1;

    /** 备用 */
    private String img2;

    /** 备用1 */
    @Excel(name = "备用1")
    private String demo1;

    /** 备用2 */
    private String demo2;

    /** 备用3 */
    private String demo3;

    /** 备用4 */
    private String demo4;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setGoods(String goods) 
    {
        this.goods = goods;
    }

    public String getGoods() 
    {
        return goods;
    }
    public void setImg1(String img1) 
    {
        this.img1 = img1;
    }

    public String getImg1() 
    {
        return img1;
    }
    public void setImg2(String img2) 
    {
        this.img2 = img2;
    }

    public String getImg2() 
    {
        return img2;
    }
    public void setDemo1(String demo1) 
    {
        this.demo1 = demo1;
    }

    public String getDemo1() 
    {
        return demo1;
    }
    public void setDemo2(String demo2) 
    {
        this.demo2 = demo2;
    }

    public String getDemo2() 
    {
        return demo2;
    }
    public void setDemo3(String demo3) 
    {
        this.demo3 = demo3;
    }

    public String getDemo3() 
    {
        return demo3;
    }
    public void setDemo4(String demo4) 
    {
        this.demo4 = demo4;
    }

    public String getDemo4() 
    {
        return demo4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("status", getStatus())
            .append("goods", getGoods())
            .append("img1", getImg1())
            .append("img2", getImg2())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("demo1", getDemo1())
            .append("demo2", getDemo2())
            .append("demo3", getDemo3())
            .append("demo4", getDemo4())
            .toString();
    }
}
